export default {
  namespaced: true,
  state: {
    userInfo: {
      name: 'tom',
      skills: ['抖音', 'B站', '美团'],
      address: '武汉黑马',
      logo: 'https://vuejs.org/images/logo.svg'
      //  https://www.runoob.com/wp-content/uploads/2016/02/react.png
    },
  },
  mutations: {
    setLogo: function (state, {
      newlogo,
      two
    }) {
      state.userInfo.logo = newlogo
      console.log(two);

    },
    // setbooks(state, newboos) {
    //   state.newbooks = newboos
    // }
  }
}
